package com.icetech.eom.service.tx;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.icetech.eom.domain.tx.Server;
import org.apache.poi.ss.usermodel.Workbook;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangzw
 * @since 2018-11-12
 */
public interface IServerService extends IService<Server> {
    /**
     * 分页获取服务器列表
     * @param searchKey
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageInfo<Server> selectByPage(String searchKey, Integer pageNo, Integer pageSize);

    /**
     * 导出 excel
     * @param searchKey
     * @return
     */
    Workbook exportExcel(String searchKey);

}
